package com.ff.xyh.common.entity.result;

/**
 * @Auther FF
 * @Date 2022年 10月 26日
 * @Time 22:57
 */

public interface ResultMessage {
    public static String OK = "OK";
    public static String SUCCESS = OK;

    public static String NO_SUCH_OBJECT = "对象不存在";
    public static String OBJECT_ALREADY_EXISTS = "对象已存在";
    public static String OBJECT_ALREADY_NOT_EXISTS = "对象已不存在";
    public static String OBJECT_EXISTS_BUT_FAILED_TO_DELETE = "对象存在，但删除失败";
    public static String FAILED_TO_DELETE = "删除失败";
    public static String OBJECT_EXISTS_BUT_FAILED_TO_UPDATE = "对象存在，但修改失败";
    public static String FAILED_TO_UPDATE = "修改失败";
    public static String NO_SUCH_OBJECT_BUT_FAILED_TO_INSERT = "对象不存在，但添加失败";
    public static String FAILED_TO_INSERT = "添加失败";

    public static String NO_PERMISSION = "没有权限";
    public static String NO_RESULT = "没有结果";

    public static String UNKNOWN_ERROR = "未知错误";
    public static String UNKNOWN_TYPE = "未知类型";

    public static String ERROR_ARG = "参数错误";
    public static String LOGIN_FAILED = "登录失败";
}
